

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
// 1. 引入你需要的组件
import { Button,Tab, Tabs,Swipe, SwipeItem,Loading,Sidebar, SidebarItem  } from 'vant';
import "./assets/font/iconfont.css"

// 2. 引入组件样式
import 'vant/lib/index.css';
const app = createApp(App)

app.use(Button);
app.use(Tab);
app.use(Tabs);
app.use(Swipe);
app.use(SwipeItem);
app.use(Loading);
app.use(Sidebar);
app.use(SidebarItem);




app.use(createPinia())
app.use(router)
app.mount('#app')
